package com.train.user.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.train.user.domain.PostCourse;
import com.train.user.service.PostCourseService;
import com.train.user.mapper.PostCourseMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.time.LocalDateTime;
import java.util.List;

/**
* @author HP
* @description 针对表【post_course(视频与标签关联表)】的数据库操作Service实现
* @createDate 2025-11-03 16:05:03
*/
@Service
public class PostCourseServiceImpl extends ServiceImpl<PostCourseMapper, PostCourse>
    implements PostCourseService{
@Autowired
private PostCourseMapper postCourseMapper;
    @Override
    public List<PostCourse> selectPostCourse(LocalDateTime createTime, Long relationId) {

        List<PostCourse> postCourses = postCourseMapper.selectPostCourse(createTime, relationId);

        return postCourses;
    }
}




